//
//  THTextField.swift
//  OneMeeting
//
//  Created by zhangheng on 2019/11/14.
//  Copyright © 2019 www.zhangheng.com. All rights reserved.
//

import Foundation
class THTextField: NSTextField {
    
    override func becomeFirstResponder() -> Bool {
        let success = super.becomeFirstResponder()
        if success {
            let textview = self.currentEditor() as? NSTextView
            textview?.insertionPointColor = NSColor.red
        }
        return success
    }
   
}
